package alpaca.ctrl;

import alpaca.core.ServerModelLocator;

public class AddUserCtrl implements IController {
		
	private String firstName;
	private String lastName;
	private String email;
	private String password;	
	
	@Override
	public void execute() {
		ServerModelLocator.getServerModel().createUser(firstName, lastName, email, password);
	}

	public void setUser(String firstName, String lastName, String email, String password) {
		this.firstName = firstName;
		this.lastName = lastName;
		this.email = email;
		this.password = password;
	}
}
